import 'package:get/get.dart';

import 'package:FiduMart/screen/home/home.dart';
import 'package:FiduMart/screen/home/home_bindings.dart';

import 'package:FiduMart/screen/webview/webview_binding.dart';
import 'package:FiduMart/screen/webview/webview_screen.dart';
import 'package:FiduMart/screen/webviewtwo/webviewtwo_binding.dart';
import 'package:FiduMart/screen/webviewtwo/webviewtwo_screen.dart';

import 'screen/search/CurrencySearch.dart';
import 'screen/search/CurrencySearchBinding.dart';


class AppRoutes {
  static const String homeScreen = '/homeScreen_screen'; // 启动动

  static String initialRoute = '/initialRoute';

  static const String home1 = '/home1_screen'; // 启动动

  static const String webviewScreen = '/webview_screen';

  static const String webviewTwoScreen = '/webviewtwo_screen';

  static const String currencySearch = '/currency_search';


  static List<GetPage> pages = [
    GetPage(
      name: homeScreen,
      page: () => HomePage(),
      bindings: [
        HomeBindings(),
      ],
    ),
    GetPage(
      name: initialRoute,
      page: () => HomePage(),
      bindings: [
        HomeBindings(),
      ],
    ),
    
    
    GetPage(name: home1, page: () => HomePage(), binding: HomeBindings()),

    

    GetPage(
      name: webviewScreen,
      page: () => WebviewScreen(),
      bindings: [
        WebviewBinding(),
      ],
    ),
    
    GetPage(
      name: webviewTwoScreen,
      page: () => WebviewTwoScreen(),
      bindings: [
        WebviewTwoBinding(),
      ],
    ),

    GetPage(
      name: currencySearch,
      page: () => CurrencySearch(),
      bindings: [
        CurrencySearchBinding(),
      ],
    ),


  ];
}
